package com.beidu.lottery.call.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 活动助力记录表
 * </p>
 *
 * @author 北渡
 * @since 2023-11-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("b_activity_extra_record")
@ApiModel(value = "ActivityExtraRecord对象", description = "活动助力记录表")
public class ActivityExtraRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "活动ID")
    private Integer activityId;

    @ApiModelProperty(value = "用户ID(邀请人)")
    private String userId;

    @ApiModelProperty(value = "助力人ID(被邀请人)")
    private Long inviteeId;

    @ApiModelProperty(value = "数据状态(0:删除, 1:正常)")
    @TableLogic
    private Integer status;

    @ApiModelProperty(value = "创建人id")
    private String createdBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdDate;

    @ApiModelProperty(value = "更新人id")
    private String updatedBy;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updatedDate;

}
